package com.zzr.zzrbackend.mapper;

import com.zzr.zzrbackend.pojo.domain.EmergePerson;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmergePersonMapper {
    int insertEmergePerson(EmergePerson emergePerson);

    Integer updateEmergePerson(EmergePerson emergePerson);

    List<EmergePerson> selectAll();

    Integer deleteByChildIdAndName(Integer childId, String name);
}
